/*
 * ACC.h
 *
 *  Created on: 28.02.2011
 *      Author: Tavin
 */

#ifndef ACC_H_
#define ACC_H_


typedef struct {
	uint8_t chanelData[3] [2];
	uint8_t activeChanel;
	uint8_t dataPointer;
} AccData_t;


void ACC_init();

void Acc_on();
void Acc_off();
void Acc_clearData();

void Acc_aquireData();
int8_t ACC_getAxisData(uint8_t axis);

#endif /* ACC_H_ */
